﻿using MyCode.Project.Domain.Message.Response.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.OnlineGoods
{
    public class OnlineGoodsItemAct
    {
        /// <summary>
        /// 项目类型，0=商品；1=服务；2=组合商品；3=卡券 4=自定义套餐
        /// </summary>
        public int ItemType { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid ItemID { get; set; }

        /// <summary>
        /// 吊牌价,前端可以不用传
        /// </summary>
        public decimal SalesPrice { get; set; }

        /// <summary>
        /// 实际销售价,前端可以不用传
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? Qty { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }

    public class OnlineGoodsItem
    {
        /// <summary>
        /// 项目类型，0=商品；1=服务；2=组合商品；3=卡券 4=自定义套餐
        /// </summary>
        public int SuitFlag { get; set; }
        /// <summary>
        /// 列表数据的ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }
    }

    public class ShopOnlineGoodsItem: OnlineGoodsItem
    {
       
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }
    }

    public class OnlineGoodsScene: ShopOnlineGoodsItem
    {
        /// <summary>
        /// 小程序图片路径地址
        /// </summary>
        public string MiniCodeUrl { get; set; }

        /// <summary>
        /// 海报背景图路径地址
        /// </summary>
        public string PosterUrl { get; set; }

        /// <summary>
        /// 无视它
        /// </summary>
        public MemberLoginInfo loginInfo { get; set; }
    }


}
